package com.qbw.app.model;

import androidx.databinding.Bindable;

import java.io.Serializable;
import java.util.List;

/**
 * @author QBW
 * @date 2019-09-01
 */
public class TravelData extends BaseModel implements Serializable {

    private List<Travel> travelList;
    private TravelStatistic travelStatistic;

    public List<Travel> getTravelList() {
        return travelList;
    }

    public void setTravelList(List<Travel> travelList) {
        this.travelList = travelList;
    }

    public TravelStatistic getTravelStatistic() {
        return travelStatistic;
    }

    public void setTravelStatistic(TravelStatistic travelStatistic) {
        this.travelStatistic = travelStatistic;
    }

    public static class TravelStatistic extends BaseModel{
        private String sumMile;
        private String time;

        public String getSumMile() {
            return sumMile;
        }

        public void setSumMile(String sumMile) {
            this.sumMile = sumMile;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }
    }

    public static class Response extends BaseResponse<TravelData> {}

}
